package com.woniu.model.mallSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author Lzj
 * @since 2023-10-19
 */
@Getter
@Setter
@TableName("h_user")
@ApiModel(value = "User对象", description = "用户表")
public class MUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户表")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("电话")
    private String telphone;

    @ApiModelProperty("昵称")
    private String userNickname;

    @ApiModelProperty("会员等级")
    private Integer membershipLeve;

    @ApiModelProperty("账户余额")
    private Double accountBalance;

    @ApiModelProperty("注册时间")
    private Date registrationDate;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("生日")
    private Date birthday;

    @ApiModelProperty("头像")
    private String images;

    @ApiModelProperty("行业")
    private String industry;

    @ApiModelProperty("体重")
    private String weight;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("角色id")
    private Integer roleId;

    @ApiModelProperty("地区")
    private String area;

    @ApiModelProperty("是否拉黑，1=不拉黑，2=拉黑")
    private Integer status;


}
